import type { GiteeElements } from '../../../../../../../../types/constants/personalization/gitee'
import { BaseService } from '../../../../../../../../lib/abstract/base_service'
import {
  PAGE_ELEMENTS,
  SUPPORTED_PLATFORMS,
} from '../../../../../../../../types/constants'

export class GiteeCommonPage extends BaseService {
  readonly id: string = 'gitee_common_page'
  readonly name = 'giteeCommonPage'
  elements: GiteeElements = PAGE_ELEMENTS[SUPPORTED_PLATFORMS.GITEE]
  private static instance: GiteeCommonPage

  /**
   * 获取单例实例
   */
  public static getInstance(): GiteeCommonPage {
    if (!GiteeCommonPage.instance) {
      GiteeCommonPage.instance = new GiteeCommonPage()
    }
    return GiteeCommonPage.instance
  }

  init(): void {}

  getMainStyles(): string {
    return `
    `
  }
}
